package org.component.events 
{
	import flash.events.Event;
	import org.component.item.ListItem;
	
	/**
	 * ...
	 * @author Terry
	 */
	public class ListEvent extends Event 
	{
		
		public static const LIST_SELECT:String = "list_select";
		
		public static const LIST_SELECT_ITEM:String = "list_select_item";
		
		public static const LIST_SELECT_ROOM:String = "list_select_room";
		
		public var data:String;	//额外数据
		
		public var item:ListItem;
		
		public function ListEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
			
		} 
		
		public override function clone():Event 
		{ 
			return new ListEvent(type, bubbles, cancelable);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("ListEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}